package com.frain.springcloud.listener.entity;

import org.springframework.context.ApplicationEvent;

public class MyEvent extends ApplicationEvent {

    private String userName;

    private String password;

    public MyEvent(Object source) {
        super(source);
    }

    public MyEvent(Object source, String userName, String password) {
        super(source);
        this.userName = userName;
        this.password = password;
    }

    /** 
     * @Fields serialVersionUID : 
     */
    private static final long serialVersionUID = 7036056692298582936L;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
